Skip to content

navmap_maps_manager: obstacles with the TF at each cloud's stamp; navmap_path_file without a package - #184

Open
jmguerreroh wants to merge 2 commits into
EasyNavigation:rollingfrom
jmguerreroh:navmap-mm-exact-time
Open

jmguerreroh wants to merge 2 commits into
EasyNavigation:rollingfrom
jmguerreroh:navmap-mm-exact-time

Conversation

@jmguerreroh

Copy link
Copy Markdown
Contributor

Two small fixes in easynav_navmap_maps_manager:

  • ObstacleFilter: each cloud placed with the TF at its stamp. The filter fused every perception with the robot's latest pose. A cloud can be up to the sensors' forget_time old and is reused every cycle until the next one arrives, so while the robot turned in place its points landed rotated: walls seen a moment earlier fell on free aisles as obstacles and, once out of the sensor's range, were never cleared. Both fuse() calls now use exact_time. Turning in place at 0.8 rad/s for 40 s in a warehouse whose map already has every obstacle, the filter's spurious obstacle cells went from up to 27 to at most 2.
  • navmap_path_file without a package. The NavMap file was loaded only together with package (a path relative to its share directory); with an empty package the map stayed empty. Now, without a package, navmap_path_file is used as given (e.g. an absolute path). With a package nothing changes.

Built and tested on rolling (colcon test --packages-select easynav_navmap_maps_manager: all tests pass).

@codecov

codecov Bot commented Nov 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 22.22222% with 7 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
.../easynav_navmap_maps_manager/NavMapMapsManager.cpp 0.00% 6 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant